package com.oracle.cmp.service;

import com.oracle.cmp.common.Result;
import com.oracle.cmp.entity.Customer;
import com.oracle.cmp.entity.User;

import java.util.Map;

public interface UserService {

    public Result save(User user);

    public Result queryForPage(Map<String, Object> map, int pageNum);

    public Result selectById(int userid) ;

    public Result update(User user) ;

    public Result delete(int userid) ;

    public int count(Map<String, Object> map);
}
